package aware.util.dao.oracle;

public class OracleStoredProcedureParameter {
	/*
	 * column/parameter name
	 */
	private String columnName;

	/*
	 * kind of column/parameter: 
	 * 0 --> procedurecolumnunknown - nobody knows 
	 * 1--> procedurecolumnin - in parameter 
	 * 2 --> procedurecolumninout - inout parameter 
	 * 3 --> procedurecolumnresult - result column in resultset
	 * 4 --> procedurecolumnout - out parameter 
	 * 5 --> procedurecolumnreturn - procedure return value
	 */
	private short columnType;

	/*
	 * sql type from java.sql.types
	 */
	private int dataType;

	/*
	 * sql type name, for a udt type the type name is fully qualified
	 */
	private String typeName;

	/*
	 * precision
	 */
	private int precision;

	/*
	 * length in bytes of data
	 */
	private int length;

	/*
	 * scale
	 */
	private short scale;

	/*
	 * radix
	 */
	private short radix;

	/*
	 * can it contain null 0 --> procedurenonulls - does not allow null values 1
	 * --> procedurenullable - allows null values 2 --> procedurenullableunknown -
	 * nullability unknown
	 */
	private short nullable;

	/*
	 * comment describing parameter/column
	 */
	private String remarks;

	
	
	
	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public short getColumnType() {
		return columnType;
	}

	public void setColumnType(short columnType) {
		this.columnType = columnType;
	}


	public int getDataType() {
		return dataType;
	}

	public void setDataType(int dataType) {
		this.dataType = dataType;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public int getPrecision() {
		return precision;
	}

	public void setPrecision(int precision) {
		this.precision = precision;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public short getScale() {
		return scale;
	}

	public void setScale(short scale) {
		this.scale = scale;
	}

	public short getRadix() {
		return radix;
	}

	public void setRadix(short radix) {
		this.radix = radix;
	}

	public short getNullable() {
		return nullable;
	}

	public void setNullable(short nullable) {
		this.nullable = nullable;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

}
